/*
	Move.h
*/

struct Move
{
	Move(int r, int c, char p)
	{
		row = r;
		col = c;
		piece = p;
	}

	int row;
	int col;
	char piece;

	Move& operator=(const Move& move)
	{
		row = move.row;
		col = move.col;
		piece = move.piece;

		return *this;
	}


	bool operator==(const Move &other) const
	{
    	if(other.row != row)
    		return false;
    	if(other.col != col)
    		return false;
    	if(other.piece != piece)
    		return false;

    	return true;
  	}

	bool operator<(const Move &other) const
	{
		if(row < other.row)
			return true;

    	if((row == other.row) && (col < other.col))
    		return true;

    	return false;
  	}	
};
